package data.controller.send
{
	import base.net.socket.packet.SocketSendablePacket;
	import data.controller.packCode.CommonPackCode;
	
	/**
	 *公用数据发送类
	 * 
	 */	
	public class CommonDataSend extends DataSendBase
	{
		/**
		 * 公用数据发送类
		 * 
		 */		
		public function CommonDataSend()
		{
		}
		
		/**
		 * 验证版本号
		 * @param number 版本号
		 */
		public function validateGameVersion(number:String):void
		{
			var socketSendablePacket:SocketSendablePacket=new SocketSendablePacket(CommonPackCode.VALIDATE_GAME_VERSION);
			socketSendablePacket.writeUTF(number);
			send(socketSendablePacket);
		}
	}
}